package com.jinunn.system.converter;

import com.jinunn.system.entity.Dept;
import com.jinunn.system.model.params.DeptParam;
import com.jinunn.system.model.vo.dept.DeptVO;
import org.mapstruct.Mapper;

/**
 * @author Jindun
 * @version DeptConverter.java, v0.1 2024年 07⽉ 12⽇  下午2:57 Jindun Exp $
 */
@Mapper(componentModel = "spring")
public interface DeptConverter {

    DeptVO convertToVo(Dept entity);

    Dept convertToEntity(DeptParam deptForm);
}
